package com.qst.crop.entity;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import java.time.LocalDateTime;
import java.util.Date;

@Table(name = "tb_purchase")
@ApiModel(value = "Purchase", description = "订单")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Purchase {

    private Integer purchaseId;
    private String ownName;
    private Integer purchaseType;
    private Double totalPrice;
    private String address;
    private Integer purchaseStatus;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
